﻿ALTER TABLE [dbo].[Tasks]
    ADD CONSTRAINT [FK_Tasks_CheckPoints] FOREIGN KEY ([TaskId]) REFERENCES [dbo].[CheckPoints] ([CheckPointId]) ON DELETE CASCADE ON UPDATE CASCADE;

